package com.xrz.sxm.aj.activity;

import android.widget.TextView;

import com.lidroid.xutils.view.annotation.ViewInject;
import com.xrz.sxm.aj.base.BaseAct;
import com.xrz.sxm.aj.entity_tab.DBHelps;

public class AnLiQiangqingActivity extends BaseAct {
	private String title;
	@ViewInject(R.id.anli_content)
	private TextView Tv_content;
	private String str_content;
	
	private DBHelps m_DbHelps;

	@Override
	protected int setView() {
		return R.layout.layout_anlixiangqing;
	}

	@Override
	protected void init() {
		m_DbHelps = new DBHelps(ctx);
		title = getIntent().getStringExtra("data");
		str_content = m_DbHelps.getAnLicontent(title);
		Tv_content.setText(str_content);
	}

	@Override
	protected String setTopTitle() {
		title = getIntent().getStringExtra("data");
		return title;
	}

	@Override
	protected boolean topHide() {
		return false;
	}

}
